negotiator.protocol.auction
Class MultiPhaseAuctionProtocol
java.lang.Object
negotiator.protocol.Protocol
negotiator.protocol.auction.AuctionProtocol
negotiator.protocol.auction.MultiPhaseAuctionProtocol
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Runnable
public class MultiPhaseAuctionProtocol
- extends AuctionProtocol
- See Also:
- Serialized Form
| Methods inherited from class negotiator.protocol.Protocol |
addNegotiationEventListener, fireBilateralAtomicNegotiationSessionEvent, fireLogMessage, fireNegotiationActionEvent, getAgentName, getAgentParams, getAgentRepItem, getAgentUtilitySpaces, getDomain, getNegotiationEventListeners, getNumberOfAgents, getProfileRepItems, getSessionNumber, getTotalSessions, hashCode, loadAgentsUtilitySpaces, removeNegotiationEventListener, setTournamentRunner, startSession, stopNegotiation, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
MultiPhaseAuctionProtocol
public MultiPhaseAuctionProtocol(AgentRepItem[] agentRepItems,
ProfileRepItem[] profileRepItems,
java.util.HashMap<AgentParameterVariable,AgentParamValue>[] agentParams,
int cSR,
int tSR)
throws java.lang.Exception
- Throws:
java.lang.Exception
getName
public java.lang.String getName()
- Overrides:
getName in class AuctionProtocol
getNegotiationOutcome
public NegotiationOutcome getNegotiationOutcome()
- Overrides:
getNegotiationOutcome in class AuctionProtocol
run
public void run()
- Specified by:
run in interface java.lang.Runnable- Overrides:
run in class AuctionProtocol
getTournamentSessions
public static java.util.ArrayList<Protocol> getTournamentSessions(Tournament tournament)
throws java.lang.Exception
- Throws:
java.lang.Exception
createSession
protected static AuctionProtocol createSession(Tournament tournament,
ProfileRepItem profileCenter,
ProfileRepItem profileSeller1,
ProfileRepItem profileSeller2)
throws java.lang.Exception
- Throws:
java.lang.Exception